﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="Content/bootstrap.min.css" rel="stylesheet" />
    <link href="CSSmain.css" rel="stylesheet" />
</head>
<body>



    var tableWriter = function(){
    var h = "<table class='table tabl-striped table-hover'>";
    h+="<tr><th>Task</th></tr>";
    for(var i in tasks){
        if(task[i].isDone){
    h+="tr class='danger' onclick='toggleDone("+i+")'>";
    h+="<td>"+ new Date(Tasks[i].endTime-tasks[i].startTime).toLocaleString()+"</td>";
    }else{
    h+="<tr onclick='toggleDone("+i+")'>";
    }

    }



    <script src="Scripts/jquery-1.9.1.min.js"></script>
    <script src="Scripts/bootstrap.min.js"></script>
    <script src="_script.js"></script>
</body>
</html>
